import disabledCopyPaste from './disabled-copy-paste';

const install = function(Vue) {
  Vue.directive('dcp', disabledCopyPaste);
};

if (window.Vue) {
  window['dcp'] = disabledCopyPaste;
  Vue.use(install); // eslint-disable-line
}

disabledCopyPaste.install = install;
export default disabledCopyPaste;
